Programming with Roles in ObjectTeams/Java
نویسنده
چکیده
A number of proposals exist how to support the concept of roles at the level of programming languages. While some of these proposals indeed exhibit very promising properties, the concept of roles has not found its way into mainstream programming languages. We argue that this is due to the richness of the concept of roles and the fact that each existing proposal focusses on some aspects of roles while neglecting others. We present the programming language ObjectTeams/Java and using the categories of Steimann[17] we demonstrate that this language covers more aspects of roles than previous approaches. We suggest that a thoroughly defined programming language featuring roles may contribute to a better understanding also in other fields using roles.
منابع مشابه
A precise model for contextual roles: The programming language ObjectTeams/Java
A number of proposals exist how to support the concept of roles at the level of programming languages. While some of these proposals indeed exhibit very promising properties, the concept of roles has not found its way into mainstream programming languages. We argue that this is due to the richness of the concept of roles and the fact that each existing proposal focuses on some aspects of roles ...
متن کاملMapping Use Case Level Aspects to ObjectTeams/Java
Aspect-Oriented Software Development aims at supporting separation of crosscutting concerns throughout the full software lifecycle. In this contribution we focus on lifecycle support for crosscutting concerns with internal structure and complex behaviour. In order to make transitions between phases more seamless, support for such concerns is needed in all phases. In the past the programming lan...
متن کاملObject Confinement in Object Teams — Reconciling Encapsulation and Flexible Integration
Aspect-oriented software development (AOSD) may introduce invisible links and control flows in an application, which are perceived as an obstacle to understandability, predictability and safety. The resulting trade-off between flexibly structuring crosscutting concerns and rigorously pursuing program safety impedes the usefulness of AOSD for many fields of application. The model of Object Teams...
متن کاملUsing Guard Predicates for Generalized Control of Aspect Instantiation and Activation
Many aspect-oriented programming languages employ static transformations in order to produce the executable system. Some aspects, however, should only be effective if certain conditions are fulfilled that can only be evaluated at runtime. The näıve approach of using conditionals within the advice code easily leads to scattering and tangling regarding these conditionals, suggesting that they sho...
متن کاملPatterns for Re-usable Aspects in Object Teams
Aspect-oriented software development still lacks practical evidence. While aspects are claimed to be useful in adapting existing applications there is also first evidence that they might themselves be re-usable. We present results from two case studies with the aspect-oriented programming language ObjectTeams/Java that investigate the re-usability of aspects in developing a security framework. ...
متن کامل